﻿@model CampWeek5__Book_Project_.Data.Model.Rating
@{
    ViewBag.Title = "CreateRating";
}

<h2>What did you think?</h2>
<div>
    <form method="post">
        @Html.HiddenFor(x => x.Id)
        @Html.HiddenFor(x => x.BookId)
        <div>
            @Html.LabelFor(x => x.BookRating)
            @Html.TextBoxFor(x => x.BookRating, new { @class = "form-control", placeholder = ".5-5 how was the book?" })
        </div>

        <div>
            @Html.LabelFor(x => x.Comment)
            @Html.TextBoxFor(x => x.Comment, new { @class = "form-control", placeholder = "Comments" })
        </div>
        <button class="btn btn-success">Submit</button>
    </form>
</div>